package com.mrjy.maintain.dto;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.List;

import com.mrjy.common.entity.BaseEntity;
import com.mrjy.common.entity.SchoolInfo;
import com.mrjy.common.entity.SchoolLinkageRel;
import com.mrjy.common.util.ExcelField;

public class SchoolInfoDTO extends SchoolInfo implements Serializable{

	
	/**
	 * 
	 */
	private static final long serialVersionUID = 608929279033215865L;
	@ExcelField(title="序号")
	private Integer id ;
	/*学校名称*/
	@ExcelField(title="校名")
    private String schoolName;
    
    /*学校手机号码*/
    private String mobilePhone;
    
    /**
     * 封面url
     */
    @ExcelField(title="封面")
    private String coverUrl;
    
    @ExcelField(title="账号")
    private String loginCode;//登录账号
    
    @ExcelField(title="推广码")
    private String recommendCode;//学校推广码
    
    /**
     * 推广链接
     */
    @ExcelField(title="推广链接")
    private String promoteUrl;
    
    @ExcelField(title="签订时间")
    private String signTimeStr;//签订时间 字符串
    /**
     * 合同年限
     */
    @ExcelField(title="时限")
    private Integer contractYear;
    
    @ExcelField(title="添加时间")
    private String createTimeStr;//创建时间 字符串
    /**
     * 必填信息权限（0：孩子学号；1：孩子姓名；2：孩子学校；3：孩子班级;4:手机号码）保存时是拼接的,如：1;2
     */
    private String infoAuth;

	private String passwordSrc;//密码
	
	private String startTime;//查询时间，签订时间开始时段
	
	private String endTime; // 查询时间，签订时间结束时段
	
	private Integer userId;//管理员Id
	
	
	/*创建时间*/
    private Timestamp createTime;
    
    /*签订时间*/
    private Timestamp signTime;
    /**
     * 孩子年级（用于权限自定义，保存格式：年级1@_@最大班级;年级2@_@最大班级）
     */
    private String studentGrade;
    /**
     * 孩子学校（用于权限自定义,保存格式：学校名称1;学校名称2）
     */
    private String studentSchool;
    
    /**
     * 三级联动标志（0：不联动；1：联动）
     */
    private String threeLinkageFlag;
    /**
     * 下拉信息权限（0：孩子学校；1：孩子班级）保存时是拼接的,如：0;1 
     */
    private String pullInfoAuth;
    /**
     * 三级联动list
     */
    private List<SchoolLinkageRel> sLinkageList;
	/**
	 * 报名条件（用于前端弹框类型选择）
	 */
    private String registType; 
    
    private String sortType; //tab类型(微信端用) free-免费课程   communication-交流  support-明师支持
    
    private String voucherName; //补助券名称
    
    private Integer voucherMoney; //补助券金额
    
    private Integer isDiy;//是否有DIY权限
    private String cataid;//视频目录id
    private String catatree;//音频目录
	public String getCatatree() {
		return catatree;
	}

	public void setCatatree(String catatree) {
		this.catatree = catatree;
	}

	public String getCataid() {
		return cataid;
	}

	public void setCataid(String cataid) {
		this.cataid = cataid;
	}

	public Integer getIsDiy() {
		return isDiy;
	}

	public void setIsDiy(Integer isDiy) {
		this.isDiy = isDiy;
	}

	public String getLoginCode() {
		return loginCode;
	}

	public void setLoginCode(String loginCode) {
		this.loginCode = loginCode;
	}

	public String getPasswordSrc() {
		return passwordSrc;
	}

	public void setPasswordSrc(String passwordSrc) {
		this.passwordSrc = passwordSrc;
	}

	public String getStartTime() {
		return startTime;
	}

	public void setStartTime(String startTime) {
		this.startTime = startTime;
	}

	public String getEndTime() {
		return endTime;
	}

	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public String getCreateTimeStr() {
		return createTimeStr;
	}

	public void setCreateTimeStr(String createTimeStr) {
		this.createTimeStr = createTimeStr;
	}

	public String getSignTimeStr() {
		return signTimeStr;
	}

	public void setSignTimeStr(String signTimeStr) {
		this.signTimeStr = signTimeStr;
	}

	public String getRecommendCode() {
		return recommendCode;
	}

	public void setRecommendCode(String recommendCode) {
		this.recommendCode = recommendCode;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getSchoolName() {
		return schoolName;
	}

	public void setSchoolName(String schoolName) {
		this.schoolName = schoolName;
	}

	public String getMobilePhone() {
		return mobilePhone;
	}

	public void setMobilePhone(String mobilePhone) {
		this.mobilePhone = mobilePhone;
	}

	public String getCoverUrl() {
		return coverUrl;
	}

	public void setCoverUrl(String coverUrl) {
		this.coverUrl = coverUrl;
	}

	public String getPromoteUrl() {
		return promoteUrl;
	}

	public void setPromoteUrl(String promoteUrl) {
		this.promoteUrl = promoteUrl;
	}

	public Integer getContractYear() {
		return contractYear;
	}

	public void setContractYear(Integer contractYear) {
		this.contractYear = contractYear;
	}

	public String getInfoAuth() {
		return infoAuth;
	}

	public void setInfoAuth(String infoAuth) {
		this.infoAuth = infoAuth;
	}

	public Timestamp getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Timestamp createTime) {
		this.createTime = createTime;
	}

	public Timestamp getSignTime() {
		return signTime;
	}

	public void setSignTime(Timestamp signTime) {
		this.signTime = signTime;
	}

	public String getStudentGrade() {
		return studentGrade;
	}

	public void setStudentGrade(String studentGrade) {
		this.studentGrade = studentGrade;
	}

	public String getStudentSchool() {
		return studentSchool;
	}

	public void setStudentSchool(String studentSchool) {
		this.studentSchool = studentSchool;
	}

	public String getThreeLinkageFlag() {
		return threeLinkageFlag;
	}

	public void setThreeLinkageFlag(String threeLinkageFlag) {
		this.threeLinkageFlag = threeLinkageFlag;
	}

	public String getPullInfoAuth() {
		return pullInfoAuth;
	}

	public void setPullInfoAuth(String pullInfoAuth) {
		this.pullInfoAuth = pullInfoAuth;
	}

	public List<SchoolLinkageRel> getSLinkageList() {
		return sLinkageList;
	}

	public void setSLinkageList(List<SchoolLinkageRel> sLinkageList) {
		this.sLinkageList = sLinkageList;
	}

	public String getRegistType() {
		return registType;
	}

	public void setRegistType(String registType) {
		this.registType = registType;
	}

	public String getSortType() {
		return sortType;
	}

	public void setSortType(String sortType) {
		this.sortType = sortType;
	}

	public String getVoucherName() {
		return voucherName;
	}

	public void setVoucherName(String voucherName) {
		this.voucherName = voucherName;
	}

	public Integer getVoucherMoney() {
		return voucherMoney;
	}

	public void setVoucherMoney(Integer voucherMoney) {
		this.voucherMoney = voucherMoney;
	}

	
	
}
